package com.example.myapplication.beans;

public class IndexImg {

    //轮播图封装类
    private int indexImgId;
    private int indexResourceId; //图片在本地的资源中的id     Resource.media...
    private String indexImgPath;
    private String indexImgType;
    private String indexImgUrl;

    public IndexImg(int indexResourceId) {
        this.indexResourceId = indexResourceId;
    }

    public IndexImg(int indexImgId, int indexResourceId, String indexImgPath, String indexImgType, String indexImgUrl) {
        this.indexImgId = indexImgId;
        this.indexResourceId = indexResourceId;
        this.indexImgPath = indexImgPath;
        this.indexImgType = indexImgType;
        this.indexImgUrl = indexImgUrl;
    }

    public IndexImg() {
    }

    public int getIndexImgId() {
        return indexImgId;
    }

    public void setIndexImgId(int indexImgId) {
        this.indexImgId = indexImgId;
    }

    public int getIndexResourceId() {
        return indexResourceId;
    }

    public void setIndexResourceId(int indexResourceId) {
        this.indexResourceId = indexResourceId;
    }

    public String getIndexImgPath() {
        return indexImgPath;
    }

    public void setIndexImgPath(String indexImgPath) {
        this.indexImgPath = indexImgPath;
    }

    public String getIndexImgType() {
        return indexImgType;
    }

    public void setIndexImgType(String indexImgType) {
        this.indexImgType = indexImgType;
    }

    public String getIndexImgUrl() {
        return indexImgUrl;
    }

    public void setIndexImgUrl(String indexImgUrl) {
        this.indexImgUrl = indexImgUrl;
    }

}
